package com.bungarus.busi;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 *
 * Created by tang on 2018/11/11.
 */
abstract public class BusiProcessing {
    protected static final ExecutorService authPool = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors());
    protected static final ExecutorService busiTaskPool = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors());
    public static final String SESSION_CONTEXT = "Session_Context";
    public static final String SESSION = "Session";

    abstract public void doBusiness(Object o) throws BusiProcessingException;
}
